home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000097_news@columbia.edu _Sun Apr 20 19:44:53 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA28654
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sun, 20 Apr 1997 19:44:52 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id TAA21822
  7.     for kermit.misc@watsun; Sun, 20 Apr 1997 19:44:52 -0400 (EDT)
  8. Path: news.columbia.edu!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!cs.utexas.edu!howland.erols.net!newshub2.home.com!news.home.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newspeer.santaclara.agis.net!agis!nntp.mainstreet.net!bug.rahul.net!rahul.net!a2i!samba.rahul.net!rahul.net!a2i!jodell.a2i!jodell
  9. From: Jake Odell <jodell@rahul.net>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: problems with INPUT in 3.1.3/3.1.4
  12. Date: 20 Apr 1997 19:07:10 GMT
  13. Organization: a2i network
  14. Lines: 82
  15. Message-ID: <5jdpgu$n06@samba.rahul.net>
  16. NNTP-Posting-Host: waltz.rahul.net
  17. NNTP-Posting-User: jodell
  18. X-Newsreader: TIN [version 1.2 PL2]
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:6915
  20.  
  21. Hi..
  22.  
  23. I have been working on a script to log on to a Wildcat bbs, and have
  24. encountered some problems using the INPUT script command. In my script,
  25. it seems that the INPUT that looks for the "What is your first name?"
  26. always terminates in a second or less never waiting for the expected
  27. string, even when specifying a timeout value of 15. I've made a
  28. temporary hack with a loop to finally capture the 'first name' prompt.
  29. The INPUT returns FAILURE which it seems that should only happen on a
  30. timeout without string match.
  31.  
  32. Here is the script:
  33.  
  34. log session
  35. set term type none
  36. set terminal apc off
  37. set count 10
  38. clear input-buffer
  39. output atdt18005551212>\x0D
  40. wait 45 CD
  41. if failure forward dialfail
  42. :get1stname
  43. input 15 {first name?}
  44. if failure forward writebuf
  45. output myfirstname\x0D
  46. input 5 {last name?}
  47. output \x0D
  48. input 5 password?
  49. output mypassword\x0D
  50.  
  51. [...file transfer stuff deleted for brevity...]
  52.  
  53. :dialfail
  54. hangup
  55. close session
  56. quit
  57. :writebuf
  58. if count goto cont2
  59. hangup
  60. close session
  61. :cont2
  62. pause 1
  63. goto get1stname
  64. ;**end of script**
  65.  
  66. Here is what I see in session.log:
  67.  
  68. H<WC143701-92475472B533D4A1E3D6C>Wildcat! for Win95/NT (c) 1995,96 Mustang Software, Inc.  All Rights Reserved.
  69. Registration number: 01-9247.  v5.00.437 (Mar 27 1997).  Node: 2.
  70. n    
  71. Connected at 19200 bps.
  72.  
  73.  DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
  74.        You have connected to node 2 on XYZ Info Corp
  75.  
  76.                This system is operating on Wildcat! v5
  77.  
  78.              Please make use of your real name on this BBS
  79.  DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
  80.  
  81.  
  82.  
  83. What is your first name? myfirstname
  84. What is your  last name? 
  85.  
  86. Welcome MYFIRSTNAME.  
  87. What is your password? *******
  88. Main Menu:
  89.  
  90. **** end of session log clip *******
  91.  
  92. I'm calling with a 486dx2/66 connected 'SET SPEED 38400' via 8250 uart
  93. to a V.34 modem. The connections are usually between 14400 and 24000. I
  94. have not observed any loss of data either from screens or in inbound
  95. zmodem file transfers (written to a network drive, btw). Could the
  96. higher interrupt rate needed to service the 8250 be interfering with the
  97. timing mechanism used by INPUT? (You're right, I'm to the point of
  98. grasping for straws)
  99.  
  100. What trivial little detail am I missing?
  101. -- 
  102. Jake Odell ** jake@pantheon.net ** jodell@rahul.net